$(function(){

			$('#Paymenttable').datagrid({    
				 url:'', //数据源地址
			    columns:[[    
			    	{field:'number',width:100,title:'发放主题',align:'center'},    
			        {field:'names',width:100,title:'套账名称',align:'center'},    
			        {field:'bumen',width:100,title:'状态',align:'center'},
			        {field:'shenpiren',width:100,title:'发放月份',align:'center'},
			        {field:'dates3',width:100,title:'社保月份',align:'center'} ,
			        {field:'dates4',width:100,title:'创建人',align:'center'} ,
			        {field:'dates5',width:100,title:'创建日期',align:'center'} ,
			        {field:'caozuo',width:315,formatter:operate_formatter,title:'操作',align:'center'} 
			        
					    
			    ]],
			    toolbar:'#Paymenttable',
			    pagination:true,
			    pageNumber:1,
			    pageSize:5,
			    pageList:[5,10,15] 
			})
		//点击新增按钮，弹出window框
		$("#addPayment").click(function(){
			$("#addPayment_win").window("open");
		})
		/* jeDate('#SocialSecurity',{
			format:"YYYY-MM-DD",
		    isTime:false,
		    minDate:"2014-09-19 00:00:00"
		})  */
	})
			//在每个操作列里面添加编辑，查看，明细，删除
		function operate_formatter(value, row, index) {
		   return "<a href='#' class='easyui-linkbutton'>编辑</a>/\
		   <a href='#' class='easyui-linkbutton'>查看</a>/\
		   <a href='#' class='easyui-linkbutton'>明细</a>/\
		   <a href='#' class='easyui-linkbutton'>送审</a>/\
		   <a href='#' class='easyui-linkbutton'>删除</a> ";
		}